import request from '@/utils/request'

// 查询订单进展情况列表
export function listOrderProgress(query) {
  return request({
    url: '/rpt/orderProgress/list',
    method: 'get',
    params: query
  })
}

// 查询订单进展情况详细
export function getOrderProgress(orderProgressUuid) {
  return request({
    url: '/rpt/orderProgress/' + orderProgressUuid,
    method: 'get'
  })
}

// 新增订单进展情况
export function addOrderProgress(data) {
  return request({
    url: '/rpt/orderProgress',
    method: 'post',
    data: data
  })
}

// 修改订单进展情况
export function updateOrderProgress(data) {
  return request({
    url: '/rpt/orderProgress',
    method: 'put',
    data: data
  })
}

// 删除订单进展情况
export function delOrderProgress(orderProgressUuid) {
  return request({
    url: '/rpt/orderProgress/' + orderProgressUuid,
    method: 'delete'
  })
}
